<template>
  <div>
       <!-- 头部返回按钮 -->
       <div class="header">
          <div class="text" @click="okk">
          <i class="iconfont icon-back"></i>
          <span class="text1">
            <i class="iconfont icon-fanhui"></i>
            查看附近
            </span>
       </div>
   </div>

       <!-- 插个图片 -->
    <div class="logo">
      <img
        src="@/assets/images/map-pic-tip.jpg"
        alt="my login image"
      >
    </div>
  </div>
</template>

<script>
export default {
  data () {
    return {

    }
  },
  methods: {
    okk () {
      this.$router.go(-1)// 返回上一层
    }
  }
}
</script>

<style scoped>
.header {
  height: 1.5rem;
  width: 100%;
  background:rgb(255, 204, 153);;
}
.text{
  padding-top:4%;
  font-size:0.55rem;
  color:white
}
.iconfont{
  font-size: 0.55rem;
}
.logo {
  text-align: center;
}
.logo img {
  width: 100%;
}

</style>
